﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewRen.Models
{
    public class SearchHot
    {
        /// <summary>
        /// 逻辑ID
        /// </summary>
        public int ID { set; get; }

        /// <summary>
        /// 关键词
        /// </summary>
        [StringLength(20)]
        [Index]
        public string Key { set; get; }

        /// <summary>
        /// 搜索次数
        /// </summary>
        public int Num { set; get; }
    }
}